package com.cy.util;

import com.cy.pojo.Emp;
import lombok.Data;

import java.util.List;
@Data
public class JsonRuslt {
    Integer status=0;
    String message="ok";
    Object data;

    public JsonRuslt(Integer status, String message, Object data) {
        this.status = status;
        this.message = message;
        this.data = data;
    }
    public JsonRuslt(Integer status) {
        this.status = status;
    }
    public JsonRuslt( String message) {

        this.message = message;

    }
    public JsonRuslt(Object data) {
        this.data = data;
    }
    public JsonRuslt(Integer status, String message) {
        this.status = status;
        this.message = message;
    }
    public JsonRuslt(String message, Object data) {
        this.message = message;
        this.data = data;
    }
    public JsonRuslt(Integer status,Object data) {
        this.status = status;
        this.data = data;
    }

}
